package khm24980.basic;

public class J02_MyAge {
	public static String result(String a){
		String[] b = a.split("\\.");
		int age = 2014-Integer.parseInt(b[0])+1;
		String rs = "생년월일 : "+a+" 나이 : "+age;
		return rs;
	}

	public static void main(String[] args) {
		System.out.print(result("1991.01.04"));
	}

}
